import request from '@/utils/request'

// 查询校企合作 产教融合列表
export function listPictures(query) {
  return request({
    url: '/school/pictures/list',
    method: 'get',
    params: query
  })
}

// 查询校企合作 产教融合详细
export function getPictures(id) {
  return request({
    url: '/school/pictures/' + id,
    method: 'get'
  })
}

// 新增校企合作 产教融合
export function addPictures(data) {
  return request({
    url: '/school/pictures',
    method: 'post',
    data: data
  })
}

// 修改校企合作 产教融合
export function updatePictures(data) {
  return request({
    url: '/school/pictures',
    method: 'put',
    data: data
  })
}

// 删除校企合作 产教融合
export function delPictures(id) {
  return request({
    url: '/school/pictures/' + id,
    method: 'delete'
  })
}
